<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简单测试工具</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            max-width: 600px;
            margin: 50px auto;
            padding: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-align: center;
        }
        .container {
            background: rgba(255, 255, 255, 0.1);
            padding: 40px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
        }
        h1 {
            margin-bottom: 30px;
            font-size: 2.5em;
        }
        .button {
            background: #28a745;
            color: white;
            border: none;
            padding: 15px 30px;
            font-size: 18px;
            border-radius: 10px;
            cursor: pointer;
            margin: 10px;
            transition: all 0.3s ease;
        }
        .button:hover {
            background: #1e7e34;
            transform: translateY(-2px);
        }
        .result {
            margin-top: 30px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            font-size: 18px;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>🚀 简单测试工具</h1>
        <p>这是一个用于测试上传功能的简单HTML工具</p>
        
        <button class="button" onclick="showMessage()">点击测试</button>
        <button class="button" onclick="showTime()">显示时间</button>
        <button class="button" onclick="changeColor()">改变颜色</button>
        
        <div class="result" id="result">
            点击上面的按钮来测试功能
        </div>
    </div>

    <script>
        function showMessage() {
            document.getElementById('result').innerHTML = '🎉 测试成功！工具正常运行！';
        }

        function showTime() {
            const now = new Date();
            document.getElementById('result').innerHTML = `⏰ 当前时间：${now.toLocaleString()}`;
        }

        function changeColor() {
            const colors = ['#ff6b6b', '#4ecdc4', '#45b7d1', '#96ceb4', '#feca57', '#ff9ff3'];
            const randomColor = colors[Math.floor(Math.random() * colors.length)];
            document.body.style.background = `linear-gradient(135deg, ${randomColor} 0%, #764ba2 100%)`;
            document.getElementById('result').innerHTML = `🎨 颜色已更改为：${randomColor}`;
        }
    </script>
</body>
</html>
